package cn.jeeweb.web.modules.equipment.entity;

import cn.jeeweb.common.annotate.UiPropertyField;
import cn.jeeweb.common.flag.ObjectMark;
import cn.jeeweb.common.mvc.entity.DataEntity;
import cn.xjzn.framework_Core.ControlType;
import cn.xjzn.framework_Core.ModuleServe;
import com.baomidou.mybatisplus.annotations.TableField;

import java.util.Date;

/**
 * 操作申请bean
 */
public class EqsOperateApply extends DataEntity<String> implements ObjectMark {

    @TableField(value = "applyType")
    @UiPropertyField(moduleId = ModuleServe.eqsFaultCodeModule,propertyName = "applyType",labelText="申请类型",controlType = ControlType.DICTSELECTCONTROL,dictCode = "OperateApplyType",displayPosition =1)
    private String applyType;
    @TableField(value = "fixtureCode")
    @UiPropertyField(moduleId = ModuleServe.eqsFaultCodeModule,propertyName = "fixtureCode",labelText="工装编码",displayPosition =2)
    private String fixtureCode;
    @TableField(value = "fixtureId")
    @UiPropertyField(moduleId = ModuleServe.eqsFaultCodeModule,propertyName = "fixtureId",labelText="工装id",displayPosition =3)
    private String fixtureId;
    @TableField(value = "applyDate")
    @UiPropertyField(moduleId = ModuleServe.eqsFaultCodeModule,propertyName = "applyDate",labelText="申请时间",displayPosition =4)
    private Date applyDate;
    @TableField(value = "auditStatus")
    @UiPropertyField(moduleId = ModuleServe.eqsFaultCodeModule,propertyName = "auditStatus",labelText="审核状态",controlType = ControlType.DICTSELECTCONTROL,dictCode = "OperateAuditStatus",displayPosition =5)
    private String auditStatus;
    @TableField(value = "auditView")
    @UiPropertyField(moduleId = ModuleServe.eqsFaultCodeModule,propertyName = "auditView",labelText="审核意见",displayPosition =5)
    private String auditView;
    @TableField(value = "auditDate")
    @UiPropertyField(moduleId = ModuleServe.eqsFaultCodeModule,propertyName = "auditDate",labelText="审核时间",displayPosition =6)
    private Date auditDate;
    @TableField(value = "applyNumber")
    @UiPropertyField(moduleId = ModuleServe.eqsFaultCodeModule,propertyName = "applyNumber",labelText="申请数量",displayPosition =7)
    private Integer applyNumber;
    @TableField(value = "locationCode")
    @UiPropertyField(moduleId = ModuleServe.eqsFaultCodeModule,propertyName = "applyNumber",labelText="库位号",displayPosition =7)
    private String locationCode;

    public String getApplyType() {
        return applyType;
    }

    public void setApplyType(String applyType) {
        this.applyType = applyType;
    }

    public String getFixtureCode() {
        return fixtureCode;
    }

    public void setFixtureCode(String fixtureCode) {
        this.fixtureCode = fixtureCode;
    }

    public String getFixtureId() {
        return fixtureId;
    }

    public void setFixtureId(String fixtureId) {
        this.fixtureId = fixtureId;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Date getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(Date auditDate) {
        this.auditDate = auditDate;
    }

    public Integer getApplyNumber() {
        return applyNumber;
    }

    public void setApplyNumber(Integer applyNumber) {
        this.applyNumber = applyNumber;
    }

    public String getLocationCode() {
        return locationCode;
    }

    public void setLocationCode(String locationCode) {
        this.locationCode = locationCode;
    }

    public String getAuditView() {
        return auditView;
    }

    public void setAuditView(String auditView) {
        this.auditView = auditView;
    }
}